﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Box.Entities;
namespace Box.Repository
{
    public class UbigeoRepository : MasterRepository, IUbigeoRepository
    {
        public Ubigeo GetFromUbigeoById(string id)
        {
            return Context.Ubigeos.Find(id);
        }

        public IEnumerable<Ubigeo> GetAllUbigeo()
        {
            return Context.Ubigeos;
        }
    }
}
